package com.nengchuan.kbms.dfs.entity.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 文件上传 DTO
 * </p>
 *
 * @author abe
 * @since 2020-03-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "DataFileUploadDTO 对象", description = "文件上传 DTO")
public class DataFileUploadDTO {

    @JsonIgnore
    private Long id;

    @ApiModelProperty(value = "文件夹id", position = 10)
    private Long folderId;

    @JsonIgnore
    private String fileName;

    @JsonIgnore
    private Long fileSize;

    /**
     * 真实保存路径（相对路径，目前是 fdfs 上传的全路径（含group
     */
    @JsonIgnore
    private String realFilePath;

    @ApiModelProperty(value = "描述，备注", position = 20)
    private String remark;

}
